﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Irony.Parsing;

namespace DPLParser.DPLNodeParser.DPLScriptTreeNodeMappers
{
    public abstract class AbstractDPLScriptItemExtractor<T> where T : class
    {
        protected AbstractDPLScriptItemExtractor(ParseTreeNode originalNode)
        {
            OriginalTreeNode = originalNode;
        }

        protected AbstractDPLScriptItemExtractor()
        {
            throw new NotImplementedException();
        }

        public ParseTreeNode OriginalTreeNode { get; set; }

        public abstract T GetItem();
    }
}
